<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>添加新闻类型</h1>
	<span class="${requestScope.error == null ? "alert-success" : "alert-danger" }">
		${requestScope.error == null ? "请输入" : requestScope.error }
	</span>
	<form action="types.do?op=insert" method="post">
		类型名：<input type="text" name="title">
		<br >
		备注：<textarea rows="3" cols="30" name="remark"></textarea>
		<br>
		<input type="submit" value="提交">
	</form>
</body>
</html>